﻿using Microsoft.Extensions.Configuration;
using MiniFox.Configurations;

namespace MiniFox.Exceptions.Configurations
{
    /// <summary>
    /// 
    /// </summary>
    [Section(ELEMENT_NAME)]
    public class ExceptionConfiguration
    {
        internal const string ELEMENT_NAME = "minifox:exception";

        /// <summary>
        /// 
        /// </summary>
        public ExceptionConfiguration() { }

        /// <summary>
        /// 配置集
        /// </summary>    
        [ConfigurationKeyName("groups")]
        public GroupConfigCollection GroupConfigs
        {
            get;
            set;
        }
    }
}
